package cn.edu.ujn.lab3.service;

import cn.edu.ujn.lab3.dao.Customer;
import cn.edu.ujn.lab3.util.Page;

public interface ICustomerService {
	
	public Page<Customer> findCustomerList(
			Integer page,Integer rows,String custName,String custSource,
			String custIndustry,String custLevel);
	//添加客户
	public int createCustomer(Customer customer);
	//删除客户
	public int deleteCustomer(Integer id);
	// 通过id查询客户
	public Customer getCustomerById(Integer id);
	// 更新客户
	public int updateCustomer(Customer customer);

}

